package com.itheima.demo06.StringBuilder;

import java.util.Arrays;

public class Test01 {
    public static void main(String[] args) {
        System.out.println(System.currentTimeMillis());
        int[] arr1 = {1, 2, 3, 4, 5, 6, 7, 8, 9};
        int[] arr2 = {9, 8, 7, 6, 5, 4, 3, 2, 1};
        System.arraycopy(arr1,0,arr2,0,4);
        System.out.println(Arrays.toString(arr2));
    }
}
